app.factory('coreService', [ '$resource', function($resource) {
    return $resource( '/:action',{
        action : '@action'
    },{
        getServerDateTime: {
            method : 'GET',
            isArray : false
        },
        logout: {
            method : 'GET',
            isArray : false
        }
    });
} ]);